home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Strate…Tools for the Enterprise / Microsoft Internet Strategy & Tools for the Enterprise.iso / bkoffice / inetsrv.nts / mips / ftpctrs.h < prev    next >
C/C++ Source or Header  |  1995-12-29  |  2KB  |  64 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     ftpctrs.h
  8.  
  9.     Offset definitions for the FTP Server's counter objects & counters.
  10.  
  11.     These offsets *must* start at 0 and be multiples of 2.  In the
  12.     FtpOpenPerformanceData procecedure, they will be added to the
  13.     FTP Server's "First Counter" and "First Help" values in order to
  14.     determine the absolute location of the counter & object names
  15.     and corresponding help text in the registry.
  16.  
  17.     This file is used by the FTPCTRS.DLL DLL code as well as the
  18.     FTPCTRS.INI definition file.  FTPCTRS.INI is parsed by the
  19.     LODCTR utility to load the object & counter names into the
  20.     registry.
  21.  
  22.  
  23.     FILE HISTORY:
  24.         KeithMo     07-Jun-1993 Created.
  25.  
  26. */
  27.  
  28.  
  29. #ifndef _FTPCTRS_H_
  30. #define _FTPCTRS_H_
  31.  
  32.  
  33. //
  34. //  The FTP Server counter object.
  35. //
  36.  
  37. #define FTPD_COUNTER_OBJECT                     0
  38.  
  39.  
  40. //
  41. //  The individual counters.
  42. //
  43.  
  44. #define FTPD_BYTES_SENT_COUNTER                 2
  45. #define FTPD_BYTES_RECEIVED_COUNTER             4
  46. #define FTPD_BYTES_TOTAL_COUNTER                6
  47. #define FTPD_FILES_SENT_COUNTER                 8
  48. #define FTPD_FILES_RECEIVED_COUNTER             10
  49. #define FTPD_FILES_TOTAL_COUNTER                12
  50. #define FTPD_CURRENT_ANONYMOUS_COUNTER          14
  51. #define FTPD_CURRENT_NONANONYMOUS_COUNTER       16
  52. #define FTPD_TOTAL_ANONYMOUS_COUNTER            18
  53. #define FTPD_TOTAL_NONANONYMOUS_COUNTER         20
  54. #define FTPD_MAX_ANONYMOUS_COUNTER              22
  55. #define FTPD_MAX_NONANONYMOUS_COUNTER           24
  56. #define FTPD_CURRENT_CONNECTIONS_COUNTER        26
  57. #define FTPD_MAX_CONNECTIONS_COUNTER            28
  58. #define FTPD_CONNECTION_ATTEMPTS_COUNTER        30
  59. #define FTPD_LOGON_ATTEMPTS_COUNTER             32
  60.  
  61.  
  62. #endif  // _FTPCTRS_H_
  63.  
  64.